package org.shuma.user.mng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.shuma.user.mng.domain.entity.User;
import org.shuma.user.mng.domain.vo.AuthVo;
import org.shuma.user.utils.Result;
import org.shuma.user.vo.UserVo;

/**
 * @author liuming
 */
public interface UserService extends IService<User> {
    Result<UserVo> getUserInfoByToken(String token);

    Result updatePassword(AuthVo auth);

    Result<UserVo> getUserByUserName(String userName);
}
